﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.Infrastructure.Common;
using Zocono.WCS.Infrastructure.ApllicationDto.Enums;

namespace Zocono.WCS.Infrastructure.ApllicationDto.DtoWcsManage
{
    public class ScWorkModelInfoDto
    {
        public long ID { get; set; }
        public string Js_Id { get { return ID.ToString(); } }
        public string ScEquipmentCode { get; set; }
        /// <summary>
        /// 1 先进后出 2 先出后进 3 只进 4 只出
        /// </summary>
        public int WorkModel { get; set; }

        public bool IsLock { get; set; }

        public DateTime UpdateTime { get; set; }

        public string WorkModelDesc { get { return ((EnumScWorkModel)Enum.Parse(typeof(EnumScWorkModel), this.WorkModel.ToString())).GetDescription(); } }
    }
}
